let input01 = document.getElementById('input01')
let input02 = document.getElementById('input02')

input01.oninput = function(){
    var str = this.value;
    var reg =/^[\u2e80-\u9fff\w]{4,20}$/;
    if(reg.test(str)){
        this.nextElementSibling.innerHTML= 'ok';
        console.log(this.nextElementSibling.innerHTML)
    }else{
        this.nextElementSibling.innerHTML = '不ok,用户名经支持中文，字母，下划线'
    }
}
